package com.kr.start.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author zc
 */
@Controller
public class IndexController {

    @GetMapping(value = "/")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView();
        mv.setViewName("/index.html");
        return mv;
    }

    @GetMapping(value = "/3")
    public ModelAndView three(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("3.html");
        return mv;
    }
 
}